/**
 * 语言初始化
 */
import { setLocale } from 'umi';
import moment from 'moment';
import 'moment/locale/zh-cn';
var locale = localStorage.getItem('locale') || 'zh-CN';
moment.locale(locale.toLowerCase());
setLocale(locale);
